package cn.xp.fallback;

import cn.xp.domain.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class FlowLimitFallBack {

    public static User flowLimitMethod(Long id, BlockException e) {
        e.printStackTrace();
        return new User(-1l, "这是统一的兜底数据，降级类");
    }

}
